from pygments.lexer import default

from app.exts import db
from datetime import datetime
class CommentModel(db.Model):
    __tablename__='comment'
    id=db.Column(db.Integer,primary_key=True,autoincrement=True)
    nickname=db.Column(db.String(200),nullable=False,unique=True)
    content=db.Column(db.Text,nullable=False)
    create_time=db.Column(db.DateTime,default=datetime.now)
    is_deleted=db.Column(db.Boolean,default=False)

